package top.digger.web.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.digger.web.entity.HotSearch;
import top.digger.web.mapper.HotSearchMapper;

import java.util.List;

@Service
public class HotSearchServiceImpl implements HotSearchService{

    @Autowired
    private HotSearchMapper hotSearchMapper;

    @Override
    public List<HotSearch> selectHotSearchList() {
        return hotSearchMapper.selectAll();
    }
}
